SftTabs/NET 6.0

Item Property, TabCollectionClass Class

Softel vdm, Inc.

Returns a tab contained in the TabCollectionClass instance.

Syntax      TabCollectionClass Class (Softelvdm.SftTabsNET)

VB   

Public Default ReadOnly Overridable Property Item( ByVal name As String ) As TabClass
Public Default ReadOnly Overridable Property Item( ByVal index As Integer ) As TabClass

C#   

public virtual TabClass this[ string name ] { get; }
public virtual TabClass this[ int index ] { get; }

C++   

public: property virtual TabClass^ this[ String^ ] {
        TabClass^ get(String^ name);
}
public: property virtual TabClass^ this[ int ] {
        TabClass^ get(int index);
}

index

The zero-based index of the tab to retrieve from the tab collection.

name

The name of the tab to retrieve from the tab collection.

Property Value

The tab at the specified index.

Comments

The Item property returns a tab contained in the TabCollectionClass instance.

The Item property is the indexer of the TabCollectionClass class, so languages supporting indexers can use array syntax, usually [] or (), to access the Item property.

The Count property can be used to determine the number of tabs contained in the tab collection.

The TabClass.Name property can be used to define a tab's name.

See Also     TabCollectionClass Class | Softelvdm.SftTabsNET Namespace


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com